<template>
  <div class="top">
    <div class="max-w">
      <!-- <div class="small">ABOUT ENTERPRISE INTRODUCTION</div> -->
      <!-- <div class="big">CYDON GAME</div> -->
      <div class="big">  {{store.store_name}}</div>
    </div>
  </div>
  <div class="enterprise">
    <div class="max-w">
      <div class="html" v-html="html"></div>
    </div>

  </div>
</template>

<script setup>
import { ref } from 'vue'
import { companyInfo } from './enterprise-Introduction.service'
const html = ref()
const store = JSON.parse(localStorage.getItem('store'))
const getdata = () => {
  companyInfo().then((res) => {
    html.value = res.data.company_info
  })
}
getdata()
</script>
<style lang='scss' scoped>
.max-w {
  width: 100%;
  max-width: 1440px;
  padding: 0 4rem;
}
.top {
  background-color: var(--theme-color-title-bg);
  padding: 2rem 0rem;
  font-size: 14pt;
  color: #fff;
  display: flex;
  justify-content: center;
  .small {
    font-size: 12pt;
  }
  .big {
    font-size: 24pt;
    font-weight: 600;
  }
}
.enterprise {
  background-color: #e2e8fe;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: calc(100vh - 641px);
  img {
    width: 100%;
  }
  .html {
    width: 100%;
    overflow: auto;
    p{
      word-wrap: break-word;
    }
  }
}
</style>
